import { createSlice } from '@reduxjs/toolkit';
const speechSlice=createSlice({
    name:'speech',
    initialState:{
        transcript:'',
    },
    reducers:{
        setTranscript:(state,action)=>{
            state.transcript=action.payload;
        }
    }
       
});

export default  speechSlice.reducer;
